﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navigation;
using Baosight.ZNH.ZMCommon;

namespace Baosight.ZNH.ZMCM.UI
{
    /// <summary>  
    /// Title:OutBoundWindow
    /// Copyright:Baosight Software LTD.co Copyright (c) 2011
    /// Company:上海宝信软件股份有限公司
    /// Author: 余虎
    /// Version: 1.0
    /// History:
    ///       2011-7-5  余虎   [创建]
    ///<summary>  
    public partial class ZMCME1 : EFViewCmes
    {
        public ZMCME1()
        {
            InitializeComponent();
            this.BeforeAction += OnBeforeAction;
        }
        /// 修改前设置属性
        public void OnBeforeAction(object sender, EventArgs e)
        {
            EFViewCmesProperty _view = new EFViewCmesProperty();

            _view.EFGridCheckedRows = this.ChildGrid.GetCheckedEIRows();
            //_view.ViewType = "tabitem";
            _view.Args.Add("fdExportmaterialId", this.fdExportmaterialId.Value.ToString());//外键赋值
            this.ViewProperty = _view;
        }

    }
}
